net.resolverConfig.dnsConfig (field)
6 uses
net (current package)
dnsclient_unix.go#L346: dnsConfig atomic.Pointer[dnsConfig] // parsed resolv.conf structure used in lookups
dnsclient_unix.go#L353: return resolvConf.dnsConfig.Load()
dnsclient_unix.go#L360: conf.dnsConfig.Store(dnsReadConfig("/etc/resolv.conf"))
dnsclient_unix.go#L374: if conf.dnsConfig.Load().noReload {
dnsclient_unix.go#L402: if mtime.Equal(conf.dnsConfig.Load().mtime) {
dnsclient_unix.go#L408: conf.dnsConfig.Store(dnsConf)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |